[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
indentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ sta

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
yfontenvironment[16pt] > \setupbodyfont[mainface, 16pt] > \starttext > \startmakeup[standard][style=\bf] > \switchtobodyfont[coverface] > This is a cover. > \stopmakeup > > This is text. > \stoptext > > Compiling the sample with current latest (2024.01.08 11:23),

[NTG-context] issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[coverface][rm][TeX Gyre Termes] \setupbodyfont[mainface, 16pt] \starttext \startmakeup[standard][style=\bf] \switchtobodyfont[coverface] This is a cover. \stopmakeup

[NTG-context] Re: unwanted blank page

2023-11-22 Thread madiazm . eoicc
this is all new for me, I possibly go around and aroung to get a little thing done. In the introductions to ConTeXt I never found the command startmakeup, so i had to figure out a way to do it. I will study it at weekend

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
: \starttext \startmakeup[standard][pagestate=start] \dorecurse{25}{\input knuth} \stopmakeup \stoptext My sample explicitly displays that makeups are intended for a single page. Since actual content for that makeup would fit in six pages without the makeup, it looks weird insi

[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
] \definealternativestyle [authorstyle] [\rm\tfb] [] \definealternativestyle [titlestyle] [\rm\bfd] [] \starttext \startmakeup [frontpage] \authorstyle {The Author} \blank \titlestyle {This is the Title} \stopmakeup \startmakeup [titlepage] \titlestyle {This is the Title} \stopmakeup

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
I solved the problem by rather using: \definemakeup[cover][page][page=no,doublesided=no] \definelayout[cover][page] \startmakeup [cover]    \filterpages[Coverpages][1] \stoppagemakeup \startmakeup [cover]    \filterpages[Coverpages][2] \stoppagemakeup \startlayou

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
Alan Braslau via ntg-context schrieb am 06.07.2023 um 09:34: Hello, Trying to use: \startdocument \startpagefigure[Coverpages.pdf][page=1]\stoppagefigure \startpagefigure[Coverpages.pdf][page=2]\stoppagefigure % before \startmakeup [titlepage] front \stopmakeup \startmakeup [titlepage

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
up[cover][page][page=no,doublesided=no] \definelayout[cover][page] \startmakeup [cover] \filterpages[Coverpages][1] \stoppagemakeup \startmakeup [cover] \filterpages[Coverpages][2] \stoppagemakeup Thank you for your suggestion! Maybe it’s also a problem of \startdoc

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
Hello, Trying to use: \startdocument \startpagefigure[Coverpages.pdf][page=1]\stoppagefigure \startpagefigure[Coverpages.pdf][page=2]\stoppagefigure % before \startmakeup [titlepage] front \stopmakeup \startmakeup [titlepage] back \stopmakeup \startfrontmatter ... \stopfrontmatter

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
Index % todo: lucida  {%\startnotmode[*\v!frontpart]     \page[\v!right]     \setupbackgrounds[\v!paper][\c!background=\v!color]     \startmakeup[\v!standard]   \raggedleft   \doifsomething{\currentheadnumber} {\hfill\expanded{\processMPheadnumber{\currentheadnumber}}}   \vfill  

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
, \c!numberstyle=\bfe] and \def\PlaatsHoofdstukIndex % todo: lucida {%\startnotmode[*\v!frontpart] \page[\v!right] \setupbackgrounds[\v!paper][\c!background=\v!color] \startmakeup[\v!standard] \raggedleft \doifsomething{\currentheadnumber} {\hfill\expanded

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-06 Thread Pablo Rodriguez via ntg-context
" should read "fit" instead of "max"): \nopdfcompression \setupinteractionscreen [width=fit] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext \startmakeup[page] \null \stopmakeup \startmake

Re: [NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Hans Hagen via ntg-context
\startmakeup[page] \null \stopmakeup \startmakeup[standard] \null \stopmakeup \stoptext Boxes are defined in the following objects: 3 0 obj [ 0 0 595.275590072 841.88975789 ] endobj 5 0 obj [ 0 0 595.27559 841.889758 ] endobj 8 0 obj [ 0 0 968.199847

[NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following source: \nopdfcompression \setupinteractionscreen [width=max] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext \startmakeup[page] \null \stopmakeup \startmakeup[standard] \null

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
\clip with \externalfigure inside a loop (\dorecurse). > > With \getfiguredimensions you get the number of pages of each PDF > document (\noffigurepages). > > The following source both generates the source PDF document and the > imposed result with clipped pages (just to see a sample

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
th \getfiguredimensions you get the number of pages of each PDF > document (\noffigurepages). > > The following source both generates the source PDF document and the > imposed result with clipped pages (just to see a sample of the commands > mentioned above): > > \startbuffer[

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
F document and the imposed result with clipped pages (just to see a sample of the commands mentioned above): \startbuffer[newbuff] \setuppapersize[A3] \setupbodyfont[sans, 1200pt] \starttext \dorecurse{8} {\startmakeup[page][pagestate=start, align=center, style=\bf] \recurseleve

Re: [NTG-context] Clipping multiple PDFs

2022-08-21 Thread Pablo Rodriguez via ntg-context
th generates the source PDF document and the imposed result with clipped pages (just to see a sample of the commands mentioned above): \startbuffer[newbuff] \setuppapersize[A3] \setupbodyfont[sans, 1200pt] \starttext \dorecurse{8} {\startmakeup[page][pagestate=start, align=center, style=\

[NTG-context] Full-page Figure?

2022-03-28 Thread Michael Urban via ntg-context
I want to have a float (illustration for fiction, with caption) that takes up just one page, irrespective of the size of the image in the figure. This can be done with a \startmakeup, but makeup pages do not float, as near as I can tell; they interrupt the text (leaving a partly blank page

[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
low.     \startfrontmatter         \startmakeup[titlepage]             \titlestyle{My story}             \blank[big]             \subtitlestyle{\date}             \blank[big]             \authorstyle{My name}         \stopmakeup     \stopfrontmatter     \input knuth \stopt

[NTG-context] figure not added in current latest

2021-11-17 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setuppapersize[S6] \startbuffer[flag] \setuppapersize[S6] \starttext \startmakeup[page][align=center] \dontleavehmode \externalfigure[uk-flag.pdf][width=.8\textwidth] \stopmakeup \stoptext \stopbuffer \starttext \startmakeup[page

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Pablo Rodriguez via ntg-context
\dorecurse{25} {\startmakeup[standard][pagestate=start, style={\ss\bf}, align=center] Slide \pagenumber \stopmakeup} \stoptext \stopbuffer \savebuffer[list=slides, file=\jobname_slides.tex, prefix=no] \starttext \startbodymatter \dorecurse{25}{\input zapf\par} \typesetfile[\job

[NTG-context] makeups with local setups

2021-06-29 Thread Jan U. Hasecke
? \setupinterlinespace [line=2ex] \startsetups[setups:cover] \setupinterlinespace [line=6ex] \stopsetups \definemakeup [coverpage] [pagestate=start] \setuplayout [coverpage] [setups=setups:cover] \starttext \startmakeup [coverpage] \input lorem \stopmakeup % from here I expect

Re: [NTG-context] makeups with local setups

2021-06-29 Thread Hans Hagen
? Or is it better to use something else? \setupinterlinespace [line=2ex] \startsetups[setups:cover]   \setupinterlinespace [line=6ex] \stopsetups \definemakeup    [coverpage]    [pagestate=start] \setuplayout    [coverpage]    [setups=setups:cover] \starttext \startmakeup   [coverpage

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
. On the other hand, when I use \placeinitial for each first paragraph in the chapters of my book, the result is as expected. That is, the command works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=smallbodyfont] \definealternativestyle [authorstyle] [\rm\tfb] [] \definealternativestyle [titlestyle] [{\rm\bfd\color[red]}] [] \definealternativestyle [subtitlestyle] [\rm\tfb] [] \definealternativestyle [publisherstyle] [\rm\bfb] [] \starttext \startmakeup[titlepage

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=smallbodyfont] \definealternativestyle [authorstyle] [\rm\tfb] [] \definealternativestyle [titlestyle] [{\rm\bfd\color[red]}] [] \definealternativestyle [subtitlestyle] [\rm\tfb] [] \definealternativestyle [publisherstyle] [\rm\bfb] [] \starttext \startmakeup[titlepage

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Hans Hagen
On 2/20/2021 1:19 PM, Pablo Rodriguez wrote: On 2/20/21 12:59 PM, Pablo Rodriguez wrote: [...] Which is the right way to close the path or what am I missing? control points that determine the way curves are made I see that cycle is the way to go: indeed \starttext \startmakeup[page

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
On 2/20/21 12:59 PM, Pablo Rodriguez wrote: > [...] > Which is the right way to close the path or what am I missing? I see that cycle is the way to go: \starttext \startmakeup[page][align=middle] \dontleavehmode \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..

[NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
Dear list, I have the fowllowing sample: \starttext \startmakeup[page][align=middle] \startMPcode{doublefun} draw lmt_followtext [ text = "\feature[+][smallcaps]\bf\samplefile{zapf} ", path = ((0,0)..(3,3.25)..(9,-3.25)..(12,0)..(9,3.25)..(3,-3.25)..(0,0)), autoscal

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
(0,1) withshadecolors (red, blue) ; \stopuseMPgraphic \defineoverlay[MyShade][\useMPgraphic{MyShade}] \setupbackgrounds[page][background=MyShade] \startmakeup \definedfont[SerifBold*default @ 50pt] \setupinterlinespace \defineeffect[MyOutline][alternative=outer,rulethickness

Re: [NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Hans Hagen
On 11/7/2020 12:47 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide

[NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide] \newurl{a} compared to \newurl{a}. %~ \stopmakeup

[NTG-context] wrong url border (LMTX only)

2020-10-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext \startmakeup[slide]\newurl{a}\stopmakeup \stoptext LMTX (latest from

[NTG-context] header/footer in toc

2020-10-05 Thread jbf
, or more specifically, could I prevent just the header but leave the footer (page number)? I tried using \startmakeup but that ruins the layout of my TOC. I also tried adding [header=empty] to my combinedlist setup: \setupcombinedlist [content][header=empty] but that didn't work either. What am I

[NTG-context] wrong 2TOPSIDE?

2020-08-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \startmode[*first] \startbuffer[abcde] \setuppapersize[A5, landscape] \setupbodyfont[100pt] \starttext \dorecurse{158}{% \startmakeup[page][style=\bf\ss, align=center, pagestatus=start

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \chapter{Preface} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \stopbodymatter \stoptext I have

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
n my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: \setuppagenumbering[alternative=doublesided,page=no] \definemakeup[ToC][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \star

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
agenumbering[alternative=doublesided] \definemakeup[ToC][align=middle,pagestate=start] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \input{knuth} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \st

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >>

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1] \startchapter[title

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
environment fits here better. \definemakeup [copyright] [page=yes, pagestate=start, doublesided=no, align=flushright, bottom=] \startmakeup[copyright] Copyright © 2020 Author \stopmakeup 1. Increase the space between Roman numbers and titles in the ToC. distance with dimension

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
onscreen[option=max, delay=5] \setuppagetransitions[random] \setupbodyfont[50pt] \starttext \dorecurse{2}{% \startmakeup[page][style=\bf\ss, align=center] \recurselevel \stopmakeup% } \stoptext The output PDF document may contain a /Page object such as: 6 0 ob

Re: [NTG-context] Presentation effects

2020-07-25 Thread Pablo Rodriguez
\setuppagetransitions[random] \setupbodyfont[50pt] \starttext \dorecurse{25}{% \startmakeup[page][style=\bf\ss, align=center] \recurselevel \stopmakeup% } \stoptext Just in case it helps,

Re: [NTG-context] French interface

2020-06-25 Thread Wolfgang Schuster
       - \startmakeup and \stopmakeup   ^^  ^^ 5- setupstrings, to describe the syntaxe and the type of the arguments 1/ I don't understand how to impact, for example, FLOAT and chemical in: \placeFLOAT   becomes \placerFLOAT \startplaceFLOAT  becomes

[NTG-context] French interface

2020-06-25 Thread Garulfo
Hi, If I understand, the translation file mult-def.lua provides 5 families for translations: 1- commands 2- constants 3- variables 4- elements (prefix or suffix of commands) like - \completeREGISTER and \completeindex - \startmakeup and \stopmakeup

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontmatter

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Wolfgang Schuster
forgot to mention. \dontleavehmode is required to center the table when \startmakeup[standard][align=center]. You can use the float environment and disable the counter. \starttext \startplacefigure [location={none,split}]     \startxtable     \dorecurse{100}    {\startxrow

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Pablo Rodriguez
ehmode is required to center the table when \startmakeup[standard][align=center]. > 2. Why do you try to split a table in a makup environment (which will > never work)? \setupxtable[split=yes] is a general setup for the whole document. I mean, I don’t want a table in the document to be st

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 18.10.2019 um 16:23: Dear list, I have another issue related to extreme tables. \setupxtable[split=yes] \starttext \startmakeup[standard] \dontleavehmode \startxtable[align={middle,lohi},columndistance=0em] \startxrow

[NTG-context] issue splitting tables and horizontal mode

2019-10-18 Thread Pablo Rodriguez
Dear list, I have another issue related to extreme tables. \setupxtable[split=yes] \starttext \startmakeup[standard] \dontleavehmode \startxtable[align={middle,lohi},columndistance=0em] \startxrow \startxcell

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
\setuppagenumbering[ alternative=doublesided, ] % use pagestate=start on both makeups only if you want the title page % to be the page 1 of the book \definemakeup[title-page][align=middle,doublesided=no] \definemakeup[imprint][align=top,page=no] \starttext \startmakeup[title-page] bastard

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
[ alternative=doublesided, ] \definemakeup[title-page][align=middle,doublesided=no,pagestate=start] \definemakeup[imprint][align=top,page=no,pagestate=start] \starttext \startmakeup[title-page] bastard title \stopmakeup \startmakeup[imprint] \vfill imprint \stopmakeup \stoptext Best wishes

Re: [NTG-context] underscore hyphenation in LMTX

2019-04-29 Thread Hans Hagen
phenation[method=traditional] \sethyphenationfeatures[strict, whatever] \setuppapersize[A10, lanscape] \starttext \startmakeup[standard] \hsize\zeropoint \tt definebodyfont \stopmakeup \stoptext I get the underscore hyphenation with latest ConTeXt beta (LuaTeX

[NTG-context] underscore hyphenation in LMTX

2019-04-27 Thread Pablo Rodriguez
ndaction("aftercopyingcharacters","after", "document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [whatever] [righthyphenchar="FE000] \setuphyphenation[method=traditional] \sethyphenationfeatures[strict, whatever] \

Re: [NTG-context] weird spacing after command type

2018-10-14 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 14.10.18 um 20:38: Dear list, I have the following sample: \define[1]\slide{\startmakeup[standard]#1\stopmakeup} \definetype[texcode][style=\ttd, option=TEX] \starttext \slide{\texcode{\ifodd\pageno impar\else par\fi}} \startmakeup

[NTG-context] weird spacing after command type

2018-10-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \define[1]\slide{\startmakeup[standard]#1\stopmakeup} \definetype[texcode][style=\ttd, option=TEX] \starttext \slide{\texcode{\ifodd\pageno impar\else par\fi}} \startmakeup[standard] \texcode{\ifodd\pageno impar\else par\fi

Re: [NTG-context] rscale with auto value

2018-09-26 Thread Aditya Mahajan
] \setupbodyfont[mainface, 22pt] \starttext \startmakeup[standard] This is available at {\tt https://contextarden.net}. \stopmakeup \stoptext The problem is how to explain to someone who never used anything similar to ConTeXt or TeX how she has to calculate the scale ratio. It is even not simple

[NTG-context] rscale with auto value

2018-09-26 Thread Pablo Rodriguez
\startmakeup[standard] This is available at {\tt https://contextarden.net}. \stopmakeup \stoptext The problem is how to explain to someone who never used anything similar to ConTeXt or TeX how she has to calculate the scale ratio. It is even not simple to myself. rscale is a useful option

Re: [NTG-context] Bug with \setuptagging and layers

2018-06-10 Thread Hans Hagen
om,hoffset=.25in,voffset=.25in,     background=color,backgroundcolor=yellow]   {\externalfigure[cow.pdf]}     \stopsetups     \setupbackgrounds [page]     [setups=testpage,background={testpage}]     \starttext     \startmakeup  [testpage]     \framed[backgr

Re: [NTG-context] Bug with \setuptagging and layers

2018-06-10 Thread Hans Hagen
ound=color,backgroundcolor=yellow]   {\externalfigure[cow.pdf]} \stopsetups \setupbackgrounds [page] [setups=testpage,background={testpage}] \starttext \startmakeup  [testpage] \framed[background=color,backgroundco

[NTG-context] Bug with \setuptagging and layers

2018-06-09 Thread Rik Kabel
lor=yellow]   {\externalfigure[cow.pdf]} \stopsetups \setupbackgrounds [page] [setups=testpage,background={testpage}] \starttext \startmakeup  [testpage] \framed[background=color,backgroundcolor=yellow] {\externalfigure[cow.pdf]} \

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
}} \stopalign\vfill \stoptext \stopbuffer \starttext \startmakeup[standard][style=\ssbfb, align=middle] Just an empty page. \stopmakeup \typesetbuffer[a] \typesetbuffer[b] \typesetbuffer[c] \stoptext It contains three buffers. In 2013 (https

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Hans Hagen
  \setupbackgrounds  [page][setups=placeisbn,background=isbn]   \startmakeup   [cover4]   \scale [width=\textwidth] {\red \Title}   \stopmakeup \stoptext For me  (Win64, current standalone beta), compilation halts with: lua error   > lua error on line 4 in file

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
figure[cow.pdf][width=3cm]} \stopsetups \starttext \setupbackgrounds [page][setups=placeisbn,background=isbn] \startmakeup [cover4] \scale [width=\textwidth] {\red \Title} \stopmakeup \stoptext For me (Win64, current standalone beta), compilation halts with: lua error

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Floris van Manen
er [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm] > {\externalfigure[cow.pdf][width=3cm]} > \stopsetups > \starttext > \setupbackgrounds [page][setups=placeisbn,background=isbn] > \startmakeup [cover4] > \scale [width=\textwidth] {\red \

[NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
]   \startmakeup   [cover4]   \scale [width=\textwidth] {\red \Title}   \stopmakeup \stoptext For me  (Win64, current standalone beta), compilation halts with: lua error   > lua error on line 4 in file C://Users/rik/Desktop/xxx.tex: ...ext/tex/texmf-context/

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Hans Hagen
[A9] \starttext \startbuffer[makeup] \startmakeup[standard][align=middle] 123 \stopmakeup \stopbuffer \getbuffer[makeup] \startpostponing[3] \getbuffer[makeup] \stoppostponing \input knuth \getbuffer[makeup] \input knuth

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-20 Thread Pablo Rodriguez
makeup] \startmakeup[standard][align=middle] 123 \stopmakeup \stopbuffer \getbuffer[makeup] \startpostponing[3] \getbuffer[makeup] \stoppostponing \input knuth \getbuffer[makeup] \input knuth \getbuffer[makeup] \stoptext It is also weird tha

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
document (I’m afraid I’m not that smart :-(). In the PDF document, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
Hi Pablo, I attached what I see. ;) On 26/07/2017 22:01, Pablo Rodriguez wrote: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Pablo Rodriguez
ument, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \stoptext But we

Re: [NTG-context] Center a framedtext

2016-09-28 Thread Fabrice Couvreur
mecolor=darkred, >corner=round] > > \definelines > [algorithm] > [space=on, >before=\startalgorithmframe, >after=\stopalgorithmframe] > > \starttext > > \startmakeup[standard] > \startalgorithm > Initialisation : > \math{u} prend la valeur 2\,0

Re: [NTG-context] Center a framedtext

2016-09-28 Thread Wolfgang Schuster
defineframedtext [algorithmframe] [width=fit, location=middle, background=color, backgroundcolor=lightgray, framecolor=darkred, corner=round] \definelines [algorithm] [space=on, before=\startalgorithmframe, after=\stopalgorithmframe] \starttext \startmakeup[standard]

Re: [NTG-context] Center a framedtext

2016-09-27 Thread Fabrice Couvreur
=round] \definelines [algorithm] [space=on, before=\startalgorithmframe, after=\stopalgorithmframe] \starttext \startmakeup[standard][align=middle] \startalgorithm Initialisation : \math{u} prend la valeur 2\,000 \math{S} prend la valeur 2\,000 Traitement : Pour \math{i} allant de 2 à \

Re: [NTG-context] Center a framedtext

2016-09-25 Thread Wolfgang Schuster
ecolor=darkred, corner=round] \definelines [algorithm] [space=on, before=\startalgorithmframe, after=\stopalgorithmframe] \starttext \startlinecorrection[blank] \startmidaligned Replace these two lines with \startmakeup[standard][align=middle] \startalgorithm Initialisation : \math{u}

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Ibn Saeed
fact \startitlepage could be > written as \startmakeup[titlepage]). > > I mean the individual information such as title, subtitle, author, and > so on. > > Pablo Take a look at \setupinteraction Syntax : http://wiki.contextgarden.net/Command/setupinteraction

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Wolfgang Schuster
makeup environment is the right mechanism. You can combine this with the \setvariables command and create the title page when you set the values. \definemakeup[titlepage][align=middle] \startsetups[titlepage] \startmakeup[titlepage] \startfont[SansBold sa 3] \getvariable{tit

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-25 Thread Pablo Rodriguez
On 01/26/2016 05:13 AM, Ibn Saeed wrote: > Pablo Rodriguez writes: > > Have you tried \startstandardmakeup for Title Pages ? Many thanks for your reply, Ibn. I use a makeup for the title pages (in fact \startitlepage could be written as \startmakeup[titlepage]). I mean the i

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 20. Januar 2016 um 13:10 Dear list, I have the following sample: \setuppapersize[A6] \setuplayout[width=middle] \starttext \startmakeup[standard][align=center] \dontleavehmode\externalfigure[cow][width=\textwidth] \stopmakeup \stoptext How can I

[NTG-context] invert colors in \externalfigure

2016-01-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setuplayout[width=middle] \starttext \startmakeup[standard][align=center] \dontleavehmode\externalfigure[cow][width=\textwidth] \stopmakeup \stoptext How can I invert the colors in the external figure

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Thomas A. Schmitz
On 12/21/2015 04:33 PM, Wolfgang Schuster wrote: Why don’t you use the makeup environment? \definemakeup[centered][pagestate=start,headerstate=start] \starttext \startmakeup[centered] vertically centered? \stopmakeup \stoptext Wolfgang Because the \vfill is hidden deep in setup commands

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Wolfgang Schuster
l\null \stoptext Why don’t you use the makeup environment? \definemakeup[centered][pagestate=start,headerstate=start] \starttext \startmakeup[centered] vertically centered? \stopmakeup \stoptext Wolfgang ___ If your qu

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Hans Hagen
] \definehead[hiddentitle][chapter] \setuphead [hiddentitle] [placehead=empty, incrementnumber=list, number=no, before=, after=] \starttext \completecontent \startmakeup[copyright][top=] \hiddentitle

Re: [NTG-context] new beta - \pushbackground broken

2015-07-11 Thread Lukáš Procházka
Hello, \pushbackground seems to be broken in the last beta - this doesn't compile (but it did till now): \defineheadalternative [PartAlt] [renderingsetup=set:PartPage] \startsetups[set:PartPage] \startmakeup[mu:PartPage] \white \headnumbercontent \blank[2*big

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-10 Thread Pablo Rodriguez
[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead [hiddentitle] [placehead=empty, incrementnumber=list, number=no, before=, after=] \starttext \completecontent \startmakeup[copyright][top

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Pablo Rodriguez
[hiddentitle] [placehead=empty, incrementnumber=list, number=no, before=, after=] \starttext \completecontent \startmakeup[copyright][top=] \hiddentitle{[Copyright]} This document is released to the public

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
want an inline heading (e.g. \setuphead[...][alternative=text]). % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
the \pushbackground and \popbackground command to limit the background changes to a certain part of your document. Could anyone help me to tune the \setuphead[part]? \defineheadalternative [partpage] [renderingsetup=partpage] \startsetups[partpage] \startmakeup[part

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
simplify to: % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align=middle, top=\vfill\vfill, bottom=\vfill\vfill\vfill

[NTG-context] Difference between \startmakeup and \startstandardmakeup

2015-06-06 Thread John Culleton
I have been using \startstandardmakeup etc. for some years now. I note on the wiki that there is a command \startmakeup also. It is not covered in my copy of the Manual. What are the principal diferences between the two? -- John Culleton Wexford Press Book layout, typesetting and Indexing Free

Re: [NTG-context] Difference between \startmakeup and \startstandardmakeup

2015-06-06 Thread Wolfgang Schuster
Am 06.06.2015 um 18:01 schrieb John Culleton j...@wexfordpress.com: I have been using \startstandardmakeup etc. for some years now. I note on the wiki that there is a command \startmakeup also. It is not covered in my copy of the Manual. What are the principal diferences between the two

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Wolfgang Schuster
with the footerstate key. \setupmakeup[standard][pagestate=start] \starttext \input knuth \startmakeup[standard] \input knuth \stopmakeup \input knuth \startmakeup[standard][headerstate=start] \input knuth \stopmakeup \input knuth \stoptext Wolfgang

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Wolfgang Schuster
] \starttext \input knuth \startmakeup[abstractpage] \input knuth \stopmakeup \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Preventing double title pages for nested content

2015-05-20 Thread Wolfgang Schuster
doesn't have the same structure as mine.) Sorry if my original description was unclear. It doesn’t matter which name you use for the sections. \definehead [Library] [part] \definehead [Manpage] [chapter] \setuphead [Library] [placehead=empty, before={\startmakeup[standard][align

  1   2   >